package com.szsh.aiot.hsm.domain;

import java.util.Date;

/**
 * 用户设备信息
 * 
 * @author zhangtt
 *
 */
public class IUserDevice {

    /** 用户设备ID*/
    private Long deviceID;
    /** 宽带账号*/
    private String broadbandNO;
    /** 设备名称*/
    private String deviceName;
    /** 设备名称中的品牌 */
    private String nameBrand;
    /** 设备名称中的型号 */
    private String nameModel;
    /** 设备名称中的类型 */
    private String nameType;
    /** 显示名称*/
    private String showName;
    /** 设备MAC*/
    private String deviceMac;
    /** 内网地址 */
    private String ipv4add;
    /** 设备类型 预留字段 0：普通设备 1:天翼摄像头，，-1-未知，默认为-1 */
    private Integer deviceType = -1;
    /** 设备型号*/
    private String deviceModel;
    /** 设备厂家 预留字段*/
    private String deviceVendor;
    /** 是否是网关设备 */
    private Integer isGateway = 0;
    /** 设备扫描状态 */
    private int scanStatus;
    /** 漏洞接收时间 */
    private Date receiveTime;
    /** 设备图标 */
    private String icon;
    /** 设备漏洞数，只算安全漏洞 */
    private int leakNum;
    /** 设备漏洞数，所有漏洞 */
    private int totalNum;
    /** 显示颜色（红、橙、黄、绿） */
    private String numColor;
    /** 是否失陷设备 */
    private boolean lost;
    /** 是否弱密码 */
    private boolean weakpwd;
    /** 高危漏洞数 */
    private int highRiskNum = 0;
    /** 中危漏洞数 */
    private int mediumRiskNum = 0;
    /** 低危漏洞数 */
    private int lowRiskNum = 0;
    /** 设备来源 1 奇安信  2 网关 */
    private int nameSource =1;
    /** 天翼设备标识，1-是，0-否，-1-未知 */
    private Integer telecomFlag = -1;
    /** 设备是否在线，1-是，0-否 */
    private int isOnline = 0;

    private int fallType;
    /** 扫描ID */
    private String scanID;
    /**拉黑、恢复 ON:恢复联网;OFF:一键拉黑；*/
    private String buttonFlag;

    public Long getDeviceID() {
        return deviceID;
    }

    public void setDeviceID(Long deviceID) {
        this.deviceID = deviceID;
    }
    public String getBroadbandNO() {
        return broadbandNO;
    }

    public void setBroadbandNO(String broadbandNO) {
        this.broadbandNO = broadbandNO;
    }
    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getNameBrand() {
        return nameBrand;
    }

    public void setNameBrand(String nameBrand) {
        this.nameBrand = nameBrand;
    }

    public String getNameModel() {
        return nameModel;
    }

    public void setNameModel(String nameModel) {
        this.nameModel = nameModel;
    }

    public String getNameType() {
        return nameType;
    }

    public void setNameType(String nameType) {
        this.nameType = nameType;
    }
    public String getShowName() {
        return showName;
    }

    public void setShowName(String showName) {
        this.showName = showName;
    }
    public String getDeviceMac() {
        return deviceMac;
    }

    public void setDeviceMac(String deviceMac) {
        this.deviceMac = deviceMac;
    }
    public String getIpv4add() {
        return ipv4add;
    }

    public void setIpv4add(String ipv4add) {
        this.ipv4add = ipv4add;
    }

    public Integer getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(Integer deviceType) {
        this.deviceType = deviceType;
    }
    public String getDeviceModel() {
        return deviceModel;
    }

    public void setDeviceModel(String deviceModel) {
        this.deviceModel = deviceModel;
    }
    public String getDeviceVendor() {
        return deviceVendor;
    }

    public void setDeviceVendor(String deviceVendor) {
        this.deviceVendor = deviceVendor;
    }
    public int getScanStatus() {
        return scanStatus;
    }

    public void setScanStatus(int scanStatus) {
        this.scanStatus = scanStatus;
    }
    public Date getReceiveTime() {
        return receiveTime;
    }

    public void setReceiveTime(Date receiveTime) {
        this.receiveTime = receiveTime;
    }
    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }
    public int getLeakNum() {
        return leakNum;
    }

    public int getFallType() {
        return fallType;
    }

    public void setFallType(int fallType) {
        this.fallType = fallType;
    }

    public void setLeakNum(int leakNum) {
        this.leakNum = leakNum;
    }
    public int getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(int totalNum) {
        this.totalNum = totalNum;
    }
    public String getNumColor() {
        return numColor;
    }

    public void setNumColor(String numColor) {
        this.numColor = numColor;
    }
    public boolean isLost() {
        return lost;
    }

    public void setLost(boolean lost) {
        this.lost = lost;
    }
    public boolean isWeakpwd() {
        return weakpwd;
    }

    public void setWeakpwd(boolean weakpwd) {
        this.weakpwd = weakpwd;
    }
    public int getHighRiskNum() {
        return highRiskNum;
    }

    public void setHighRiskNum(int highRiskNum) {
        this.highRiskNum = highRiskNum;
    }
    public int getMediumRiskNum() {
        return mediumRiskNum;
    }

    public void setMediumRiskNum(int mediumRiskNum) {
        this.mediumRiskNum = mediumRiskNum;
    }
    public int getLowRiskNum() {
        return lowRiskNum;
    }

    public void setLowRiskNum(int lowRiskNum) {
        this.lowRiskNum = lowRiskNum;
    }
    public int getNameSource() {
        return nameSource;
    }

    public void setNameSource(int nameSource) {
        this.nameSource = nameSource;
    }
    public Integer getTelecomFlag() {
        return telecomFlag;
    }

    public void setTelecomFlag(Integer telecomFlag) {
        this.telecomFlag = telecomFlag;
    }
    public int getIsOnline() {
        return isOnline;
    }
    public void setIsOnline(int isOnline) {
        this.isOnline = isOnline;
    }
    public String getScanID() {
        return scanID;
    }
    public void setScanID(String scanID) {
        this.scanID = scanID;
    }

    public Integer getIsGateway() {
        return isGateway;
    }

    public void setIsGateway(Integer isGateway) {
        this.isGateway = isGateway;
    }

    public String getButtonFlag() {
        return buttonFlag;
    }

    public void setButtonFlag(String buttonFlag) {
        this.buttonFlag = buttonFlag;
    }
}
